package tmproject.hlhj.fhp.tmvote.beans;

import java.util.List;

/**
 * Created by Never Fear   on 2018\8\6 0006.
 * Never More....
 */

public class VoteListBean {

    /**
     * code : 200
     * message : 获取成功
     * data : {"total":2,"per_page":20,"current_page":1,"last_page":1,"list":[{"activity_id":5,"title":"美女评选2","activity_cover":"/application/hlhj_goddess_vote/upload/image/20180808/9c1c2faddb487f5f0f4af31ad8f07ff0.jpg","enroll_start":"2018-08-01","enroll_end":"2018-08-02","start_time":"2018-08-03","end_time":"2018-08-04","entry_fee":"0.00","enroll_check":1,"state":"已结束"},{"activity_id":4,"title":"美女评选2","activity_cover":"/application/hlhj_goddess_vote/upload/image/20180808\b1be305f6328c2f309a44ccbf8a0b62a.jpg","enroll_start":"2018-08-01","enroll_end":"2018-08-02","start_time":"2018-08-03","end_time":"2018-08-04","entry_fee":"0.00","enroll_check":1,"state":"0"}]}
     */

    private int code;
    private String message;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * total : 2
         * per_page : 20
         * current_page : 1
         * last_page : 1
         * list : [{"activity_id":5,"title":"美女评选2","activity_cover":"/application/hlhj_goddess_vote/upload/image/20180808/9c1c2faddb487f5f0f4af31ad8f07ff0.jpg","enroll_start":"2018-08-01","enroll_end":"2018-08-02","start_time":"2018-08-03","end_time":"2018-08-04","entry_fee":"0.00","enroll_check":1,"state":"已结束"},{"activity_id":4,"title":"美女评选2","activity_cover":"/application/hlhj_goddess_vote/upload/image/20180808\b1be305f6328c2f309a44ccbf8a0b62a.jpg","enroll_start":"2018-08-01","enroll_end":"2018-08-02","start_time":"2018-08-03","end_time":"2018-08-04","entry_fee":"0.00","enroll_check":1,"state":"0"}]
         */

        private int total;
        private int per_page;
        private int current_page;
        private int last_page;
        private List<ListBean> list;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getPer_page() {
            return per_page;
        }

        public void setPer_page(int per_page) {
            this.per_page = per_page;
        }

        public int getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(int current_page) {
            this.current_page = current_page;
        }

        public int getLast_page() {
            return last_page;
        }

        public void setLast_page(int last_page) {
            this.last_page = last_page;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * activity_id : 5
             * title : 美女评选2
             * activity_cover : /application/hlhj_goddess_vote/upload/image/20180808/9c1c2faddb487f5f0f4af31ad8f07ff0.jpg
             * enroll_start : 2018-08-01
             * enroll_end : 2018-08-02
             * start_time : 2018-08-03
             * end_time : 2018-08-04
             * entry_fee : 0.00
             * enroll_check : 1
             * state : 已结束
             */

            private int activity_id;
            private String title;
            private String activity_cover;
            private String enroll_start;
            private String enroll_end;
            private String start_time;
            private String end_time;
            private String entry_fee;
            private int enroll_check;
            private String state;
            private int is_enroll;

            public int getIs_enroll() {
                return is_enroll;
            }

            public void setIs_enroll(int is_enroll) {
                this.is_enroll = is_enroll;
            }

            public int getActivity_id() {
                return activity_id;
            }

            public void setActivity_id(int activity_id) {
                this.activity_id = activity_id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getActivity_cover() {
                return activity_cover;
            }

            public void setActivity_cover(String activity_cover) {
                this.activity_cover = activity_cover;
            }

            public String getEnroll_start() {
                return enroll_start;
            }

            public void setEnroll_start(String enroll_start) {
                this.enroll_start = enroll_start;
            }

            public String getEnroll_end() {
                return enroll_end;
            }

            public void setEnroll_end(String enroll_end) {
                this.enroll_end = enroll_end;
            }

            public String getStart_time() {
                return start_time;
            }

            public void setStart_time(String start_time) {
                this.start_time = start_time;
            }

            public String getEnd_time() {
                return end_time;
            }

            public void setEnd_time(String end_time) {
                this.end_time = end_time;
            }

            public String getEntry_fee() {
                return entry_fee;
            }

            public void setEntry_fee(String entry_fee) {
                this.entry_fee = entry_fee;
            }

            public int getEnroll_check() {
                return enroll_check;
            }

            public void setEnroll_check(int enroll_check) {
                this.enroll_check = enroll_check;
            }

            public String getState() {
                return state;
            }

            public void setState(String state) {
                this.state = state;
            }
        }
    }
}
